{% extends 'layout/manage.html' %}

{% block title %}
项目新成员
{% endblock %}

{% block css %}
    <style>
        .no-radius{
            border-radius: 0;
            text-align: center;
        }
    </style>
{% endblock %}

{% block content %}
    <div>
        {% if error %}
            <div class="alert alert-danger no-radius">
                <h4>
                    <i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
                    {{ error }}
                </h4>
            </div>
        {% else %}
            <div class="alert alert-success no-radius">
                <h4>
                    <i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
                    加入成功
                    <a href="{% url 'web:dashboard' project_id=project.id %}">
                        加入项目
                    </a>
                </h4>
            </div>
        {% endif %}

    </div>
{% endblock %}

